package com.example.WebSocketDemo.bean;

public class Friend {
    private int id;
    private String userName;
    private String friendName;
    private String message;
    private String sendTime;
    private int state;

    public Friend() {
    }

    public Friend(int id, String userName, String friendName, String message, String sendTime, int state) {
        this.id = id;
        this.userName = userName;
        this.friendName = friendName;
        this.message = message;
        this.sendTime = sendTime;
        this.state = state;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getFriendName() {
        return friendName;
    }

    public void setFriendName(String friendName) {
        this.friendName = friendName;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }



    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Friend{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", friendName='" + friendName + '\'' +
                ", message='" + message + '\'' +
                ", sendTime='" + sendTime + '\'' +
                ", state=" + state +
                '}';
    }
}
